/**
 * 车场顺序表(LineVia)接口
 *
 * @author wuzongbing
 * @since 2025-02-19 10:45:07
 */

import request from '@/utils/request'

export const LineViaApi = {

    /**
     *  查询列表
     * @returns
     */
    getList: (data) => {
        return request({
            url: '/manage/intercity/lineVia/getList',
            data,
            method: 'post'
        })
    },

    /**
     *  查询详细
     * @returns
     */
    load: (id) => {
        return request({
            url: '/manage/intercity/lineVia/load',
            params: {id},
            method: 'get'
        })
    },


    /**
     *  插入
     * @returns
     */
    create: (data) => {
        return request({
            url: '/manage/intercity/lineVia/create',
            data,
            method: 'post'
        })
    },

    /**
     *  更新
     * @returns
     */
    edit: (data) => {
        return request({
            url: '/manage/intercity/lineVia/edit',
            data,
            method: 'post'
        })
    },

    /**
     *  删除
     * @returns
     */
    delete: (id) => {
        return request({
            url: '/manage/intercity/lineVia/delete',
            params: {id},
            method: 'get'
        })
    }
}

